Represents an entry within the combo box. More...
Public Member Functions | |
| Entry () | |
| ~Entry () | |
| nkMemory::StringView | getLabel () const |
| void * | getAttachedData () const |
| void | setLabel (const nkMemory::StringView &label) |
| void | setAttachedData (void *data) |
Represents an entry within the combo box.
| nkWinUi::ComboBox::Entry::Entry | ( | ) |
Constructor.
| nkWinUi::ComboBox::Entry::~Entry | ( | ) |
Destructor.
| nkMemory::StringView nkWinUi::ComboBox::Entry::getLabel | ( | ) | const |
| void* nkWinUi::ComboBox::Entry::getAttachedData | ( | ) | const |
| void nkWinUi::ComboBox::Entry::setLabel | ( | const nkMemory::StringView & | label | ) |
Sets the label.
| label | The label to set. |
| void nkWinUi::ComboBox::Entry::setAttachedData | ( | void * | data | ) |
Sets the user data attached.
| data | The data to attach. |